﻿#ifndef GAMEMANAGERONLINE_H
#define GAMEMANAGERONLINE_H

#include "gamemanager.h"

#include <QObject>
#include <QTcpSocket>

class GameManagerOnline : public GameManager
{
    Q_OBJECT
public:
    explicit GameManagerOnline(QTcpSocket* tempSocket, GameSce* scene, QList<Card*>* list, QObject *parent = nullptr);
    ~GameManagerOnline();

protected:
    void init();
    void Do(bool humanGroup, int Rotation, Card *card);


signals:

public:
    void tcpUp(QByteArray);
    void tcpUse(QString);

private:
    QTcpSocket* m_tcpSocket;
};

#endif // GAMEMANAGERONLINE_H
